//
//  GoodsSkuAttr.swift
//  APPCore
//
//  Created by raymond Peng on 2018/8/7.
//  Copyright © 2018 TanBaYe. All rights reserved.
//

import Foundation
import Domain

struct GoodsSkuAttr: Decodable {
    let attrId: String?
    let attrName: String?
    let value: String?
}

extension GoodsSkuAttr: ISKUAttributesEntity {
    var attributeKey: String {
        return attrName ?? ""
    }

    var attributeValue: String {
        return value ?? ""
    }
}
